public class 练习一 {
    public static void main(String[] args) {
        Student student=new Student();
        student.age=18;
        student.gender="女";
        student.name="辽辽";
        student.id=727;
        student.score=99;
        System.out.println(student.say());
    }
}
class Student{
    String name;
    String gender;
    int age;
    int id;
    double score;
    public  String say(){
        String say= "我是" + name + ", 性别" + gender +", 年龄" +age+",学号为" + id + ", 得分是" +score;
        return say;
    }
}